/**
 * 
 */
package graph;

import java.util.ArrayList;
import java.util.List;

import facility.Facility;

/**
 * @author xiaohui
 * 
 *         A NetEdge is a line segment
 */
public class NetEdge extends GraphEdge {
	private double weight; // should be private for good practice
	List<Facility> facilities;
	
	
	public NetEdge(long id, double weight) {
		super(id);
		this.weight = weight;
		facilities = new ArrayList<Facility>();
	}

	public String toString() { // Always good for debugging
		return "E" + getId();
	}
}
